//package com.coolbi.onsupai.core.test;
//
//import org.apache.log4j.Logger;
//import org.junit.Test;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.test.context.ContextConfiguration;
//import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
//
//import com.coolbi.onsupai.core.biz.SmsBiz;
//import com.coolbi.onsupai.core.entity.Sms;
//
//@ContextConfiguration(locations ={"classpath*:/spring/applicationContext*.xml"})
//public class SmsTestCase extends AbstractJUnit4SpringContextTests {
//
//	private static final Logger logger = Logger.getLogger(SmsTestCase.class);
//	
//	@Autowired
//	private SmsBiz smsBiz;
//
////	@Test
////	public void testSave() throws Exception {
////		Sms sms = new Sms();
////		sms.setAddresseeId(1L);
////		sms.setAddresserId(4L);
////		sms.setTitle("新订单");
////		sms.setContent("新订单来啦~~");
////		sms.setSmsType(1);
////		smsBiz.save(sms);
////		logger.debug("sms.id------------------->" + sms.getId());
////	}
//	
////	@Test
////	public void testDelete() throws Exception {
////		smsBiz.delete(6);
////	}
//	
////	@Test
////	public void testUpdate() throws Exception {
////		Sms sms = new Sms();
////		sms.setId(1L);
////		sms.setTitle("退单");
////		smsBiz.update(sms);
////	}
//	
////	@Test
////	public void testGet() throws Exception {
////		logger.debug("sms.title---------->" + smsBiz.get(1).getTitle());
////	}
//	
//	public void setSmsBiz(SmsBiz smsBiz) {
//		this.smsBiz = smsBiz;
//	}
//}
